// 头部横向分类数据
export const categoryUnique = {
		today: '今日数据统计',
		source: '过境客源',
		hotArea: '热门区域客流数据',
		trend: '入园趋势',
		ticket: '票务销售',
		ropeway: '索道运营',
		passenger: '客运运力分析',
		traffic: '交通管理',
		stopCar: '停车场管理'
}

export const categories = [
	// { name: categoryUnique['today'] },
	{ name: categoryUnique['source'] },
	{ name: categoryUnique['hotArea'] },
	{ name: categoryUnique['trend'] },
	{ name: categoryUnique['ticket'] },
	{ name: categoryUnique['ropeway'] },
	{ name: categoryUnique['passenger'] },
	{ name: categoryUnique['traffic'] },
	{ name: categoryUnique['stopCar'] },
]

// 过境客源 - 折线图 - 按钮列表
export const sourceBtnList = [
	{ name: '累计', value: 'all' },
	{ name: '年', value: 'year' },
	{ name: '月', value: 'month' },
	{ name: '周', value: 'week' },
	{ name: '日', value: 'day' },
]

// 过境客源 - 来源地
export const positionBtnList = [
	{ name: '国家', value: 'country' },
	{ name: '省份', value: 'province' },
	{ name: '城市', value: 'city' }
]

// 热门区域客流数据
export const hotAreaList = [
	{
		name: '大愿文化园',
		num: 2586,
		bgSrc: '/static/data/hot-area-big.png'
	},
	{
		name: '肉身殿',
		num: 2586,
		bgSrc: '/static/data/hot-area-big.png'
	},
	{
		name: '天台',
		num: 2586,
		bgSrc: '/static/data/hot-area-small.png'
	},
	{
		name: '西门进山点',
		num: 2586,
		bgSrc: '/static/data/hot-area-small.png'
	},
	{
		name: '百岁宫',
		num: 2586,
		bgSrc: '/static/data/hot-area-small.png'
	},
]

// 年龄分别滚动条配置
export const userAgeProgressConfig = [
  {
    top: 1,
    name: '18岁以下',
    precent: 0,
    num: 0,
    numKey: 'childPass',
    precentKey: 'childRatio',
  },
  {
    top: 2,
    name: '18-40岁',
    precent: 0,
    num: 0,
    numKey: 'youthPass',
    precentKey: 'youthRatio',
  },
  {
    top: 3,
    name: '40-60岁',
    precent: 0,
    num: 0,
    numKey: 'middleAgedPass',
    precentKey: 'middleAgedRatio',
  },
  {
    top: 4,
    name: '60岁以上',
    precent: 0,
    num: 0,
    numKey: 'oldPass',
    precentKey: 'oldRatio',
  },
]

// 销售额数据趋势 - 按钮列表
export const salesPriceBtnList = [
	{ name: '年', value: 'year'  },
	{ name: '月', value: 'month' },
	{ name: '周', value: 'week' },
	{ name: '日', value: 'day' },
]

// 客运运力分析 - 上山下山
export const passengerUpDonwBtnList = [
	{ name: '上山', value: 'up' },
	{ name: '下山', value: 'down' },
]

// 本地车辆趋势按钮配置
export const localCartrendBtnList = [
	{ name: '驶入', value: 'in' },
	{ name: '驶出', value: 'out' }
]
